using System;
using System.Reflection;
using System.Resources;

namespace ResFixer
{
    public class Resources
    {
        private static ResourceManager _resourceManager = null;

        public static String LoadString(string label)
        {
            //Add the following two lines to your assembly
            if (_resourceManager == null)
            {
                Assembly assem = Assembly.GetExecutingAssembly();
                _resourceManager = new ResourceManager("ResFixer.Strings", assem);
            }

            return _resourceManager.GetString(label);
        }

    }
}
